<h1>GotoFrame</h1>

<p>The GotoFrame action instructs the player to move to the specified frame in 
the current movie's main time-line.</p>

<table>

<tr>
<th nowrap>Field Name</th>
<th>Type</th>
<th>Description</th>
</tr>

<tr>
<td nowrap valign="top"><a name="ActionType">Type</a></td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">8</td>
<td>Identifies the action when it is encoded.</td>
</tr>

<tr>
<td nowrap valign="top"><a name="ActionLength">Length</a></td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">16</td>
<td>The number of bytes in the rest of the encoded action. The total number of
bytes in the encoded action is Length+3.</td>
</tr>

<tr>
<td nowrap valign="top">frameNumber</td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">16</td>
<td>The number of the frame in the movie's main time-line, in the range 
1..65535, to move to.</td>
</tr>

</table>

<p>The movie will start playing immediately from the specified frame.</p>

<h2>History</h2>

<p>GotoFrame represents the ActionGotoFrame action of the Macromedia 
Flash (SWF) File Format Specification. It was introduced in Flash 3. This 
class is now superceded by the GotoFrame2 action which allows either the 
name of a frame or a number of be specified.</p>